package com.ruoyi.order.remoteservice;

import com.ruoyi.system.api.factory.RemoteUserFallbackFactory;
import com.sun.org.glassfish.gmbal.ParameterNames;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.*;


@FeignClient(contextId = "RemoteStudentService", value = "ruoyi-test", fallbackFactory = RemoteUserFallbackFactory.class)
public interface RemoteStudentService {

    @RequestMapping(value = "/student/test", method = RequestMethod.GET)
    public String cs(@RequestParam("cs") String cs);
}

